package com.wmh.baseservice.skd.pojo.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "添加团购活动请求体封装")
public class AddGroupBuyingActivitiesReqVO implements Serializable {
    @ApiModelProperty("团购活动标题")
    @NotBlank(message = "未提交团购活动标题")
    private String title;

    @ApiModelProperty("团购活动内容")
    private String content;

    @ApiModelProperty("商品快照")
    @NotNull(message = "商品快照")
    private String goodsSnapshot;

    @ApiModelProperty("同城配送")
    private String cityDelivery;

    @ApiModelProperty("自提点id")
    private List<Long> pickupPointId;

    @ApiModelProperty("团购活动的开始时间")
    @NotNull(message = "未提交团购活动开始时间")
    private String startDate;

    @ApiModelProperty("团购活动的结束时间")
    @NotNull(message = "未提交团购活动结束时间")
    private String endDate;

    @ApiModelProperty("佣金设定")
    @NotBlank(message = "未提交佣金设定")
    private String commissionSettings;

    @ApiModelProperty("达量奖设定")
    @NotBlank(message = "未提交达量奖设定")
    private String volumeRewardSettings;
}
